4️⃣ Event-Driven Architecture
💡 Best for: Systems requiring high availability and asynchronous processing (e.g., real-time updates, notifications).
Key Concepts:

📦 Example Workflow:

  1. User books a flight → Generates ReservationCreatedEvent.
  2. Event is published to Kafka/RabbitMQ.
  3. Payment Service listens for the event → Processes the payment.
  4. Notification Service listens for the event → Sends an email.

🔹 Why use it?

🚨 Limitations: